/**
 * This class holds the users similar to a database
 * 
 * @author Matthew Edwards 
 * @version 3-5-11
 */

import java.util.*;

public class UserDatabase {
    
    Hashtable users = new Hashtable();
    int n = 0;
 
    public UserDatabase(Hashtable users)
    {
        this.users = users;
    }
    
    /**Adds a user to the database
     * 
     * @param input
     *     The user to be input
     */
    public void add(User input)
    {
        users.put(n,input);
        n++;
    }
    
    /**Deletes a user at it's value
     * 
     * @param value
     *    The value that determines which user is deleted
     */
    public void delete(int value)
    {
        users.remove(value);
    }
    /**Searches for users
     * 
     */
    public void search()
    {
        
    }
    }
    
    
    
    

}
